var path = require('path')
var fs = require('fs')

var appDirectory = fs.realpathSync(process.cwd())
var resolveApp = relativePath => path.resolve(appDirectory, relativePath)

module.exports = {
  index: path.resolve(__dirname, '../dist/index.html'),
  assetsRoot: path.resolve(__dirname, '../dist'),
  assetsSubDirectory: 'static',
  assetsStaticHTMLSubDirectory: 'static/html',
  assetsLibrarySubDirectory: 'static/scripts',
  assetsLibraryTempDirectory: 'tmp',
  assetsLibraryNameList: [
    'vue',
    'vue-router',
    'vuex',
    'vue-markdown',
    'vue-meta',
    'axios',
    'jsonp',
    'jquery',
    'swiper',
    //'normalize.css'
  ],
  assetsLibraryFileNamePrefix: 'hkcr_lib',
  assetsAPPFileNamePrefix: 'hkcr_app',
  assetsVendorFileNamePrefix: 'hkcr_vendor',
  assetsManifestFileNamePrefix: 'hkcr_manifest',
  assetsDynamicFileNamePrefix: 'hkcr_dyn',
  assetsPublicPath: '//hh.ppdaicdn.com/',
  appNodeModules: resolveApp('node_modules')
}
